/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2024-01-05
 * Time: 19:19
 */
public class Test {
    public static void rotate(int[] nums, int k) {
        while(k!=0){
            int tmp=k%nums.length;
            //将整个数组进行反转
         //
        }
    }
    public static void main(String[] args) {
        int[ ] nums= {1,2,3,4,5,6,7};
        rotate(nums,3);
    }
}
